package week_04.delet_odd;

import learn.LinkList.LinkList;
import week_04.SingleList;

import java.util.LinkedList;

public class delet_odd {
    public static void main(String[] args) throws Exception{
        SingleList<Integer> s1=new SingleList<>();
        s1.insert(1);
        s1.insert(3);
        s1.insert(4);
        s1.insert(5);
        s1.insert(6);
        s1.insert(9);
        s1.insertOddBefore();
//        s1.remove_odd();
        for (int i=0;i<s1.length();i++){
            System.out.println(s1.get(i));
        }
    }

}
